<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title>后台管理</title>
    <meta name="description" content="overview &amp; stats"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <!-- basic styles -->
    <link href="__CSS__/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__CSS__/font-awesome.min.css"/>
    <!-- ace styles -->
    <link rel="stylesheet" href="__CSS__/ace.min.css"/>
    <!--page cover style-->
    <link rel="stylesheet" href="__CSS__/my-style2.css">
    <link rel="stylesheet" href="__CSS__/s_pop.css">
</head>

<body class="skin-1">
<header class="s_cylist-head"><span>添加会长</span></header>
<span class="s-close" id="close" onclick="window.parent.closeDialog();"><img src="/static/images/admin/close.png" alt="close"/></span>
<div class="s_task-pop" style="min-height: 300px;height: 624px;">
    <form class="form-horizontal s_input-bgcolor" style="overflow: hidden;border-bottom: 1px solid #ededed;" method="post" action="/admin/treasure/leaderAdd">
        <div class="form-group">
            <div class=" " style="width:50%;margin-left: 20px;float: left">
                <input type="text" id="form-field-1-2" placeholder="请输入用户名" name="uname" value="{$postArr.uname}" class="form-control border-radius" >
            </div>
            <div class=" " style="width:50%;margin: 0 auto;">
                <button class="btn " style="width: 120px; border-radius: 2rem;margin-left: 20px; background: #fba40a!important;border-color: #fba40a;float: left">查询</button>
            </div>
        </div>
    </form>
    <ul class="left-30">
        <li class="font-size16 color-gray6">用户名</li>
        <li class="font-size16 color-gray6">推荐人</li>
        <li class="font-size16 color-gray6">操作</li>
    </ul>
    <div style="height: 450px;overflow:hidden;overflow-y: auto">
        <table class="table table-hover s_task-table">
            <tbody>
            {empty name="resList"}
            <tr class="s_tr-vertical">
                <td colspan="3" class="center" style="color: red;">没有查询到结果</td>
            </tr>
            {/empty}
            {volist name="resList" id="vo"}
                <tr class="s_tr-vertical">
                    <td class="left">{$vo.Username}({$vo.TrueName})</td>
                    <td class="left">{$ruRes[$vo[RecommandId]][uname]}({$ruRes[$vo[RecommandId]][tname]})</td>
                    <td class="left s_geo-decotation">
                        <a onclick="window.parent.setLeader({$vo.Id});" style="cursor: pointer">设为会长</a>
                    </td>
                </tr>
            {/volist}
            </tbody>
        </table>
    </div>
    <div class="text-center">
        {$pageShow}
    </div>
</div>
</body>
</html>